package org.xshop.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import top.ibase4j.core.base.BaseModel;

import java.math.BigDecimal;

/**
 * <p>
 * 订单费用
 * </p>
 *
 * @author ShenHuaJie
 * @since 2018-03-01
 */
@ApiModel(value = "订单费用", description = "订单的费用详情")
@TableName("t_order_fee")
@SuppressWarnings("serial")
public class TOrderFee extends BaseModel {

    @ApiModelProperty(value = "订单编号")
    @TableField("order_id")
    private Long orderId;
    @ApiModelProperty(value = "商品总金额")
    @TableField("goods_money")
    private BigDecimal goodsMoney;
    @ApiModelProperty(value = "发票税额")
    @TableField("invoice_amount")
    private BigDecimal invoiceAmount;
    @ApiModelProperty(value = "配送费用")
    @TableField("delivery_costs")
    private BigDecimal deliveryCosts;
    @ApiModelProperty(value = "保价费用")
    @TableField("insured_cost")
    private BigDecimal insuredCost;
    @ApiModelProperty(value = "支付费用")
    @TableField("pay_amount")
    private BigDecimal payAmount;
    @ApiModelProperty(value = "使用红包")
    @TableField("use_red_envelope")
    private BigDecimal useRedEnvelope;
    @ApiModelProperty(value = "使用储值卡")
    @TableField("use_value_card")
    private BigDecimal useValueCard;
    @ApiModelProperty(value = "折扣")
    @TableField("discount_amount")
    private BigDecimal discountAmount;
    @ApiModelProperty(value = "使用积分")
    @TableField("use_integral")
    private BigDecimal useIntegral;
    @ApiModelProperty(value = "使用优惠券")
    @TableField("use_coupon")
    private BigDecimal useCoupon;


    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public BigDecimal getGoodsMoney() {
        return goodsMoney;
    }

    public void setGoodsMoney(BigDecimal goodsMoney) {
        this.goodsMoney = goodsMoney;
    }

    public BigDecimal getInvoiceAmount() {
        return invoiceAmount;
    }

    public void setInvoiceAmount(BigDecimal invoiceAmount) {
        this.invoiceAmount = invoiceAmount;
    }

    public BigDecimal getDeliveryCosts() {
        return deliveryCosts;
    }

    public void setDeliveryCosts(BigDecimal deliveryCosts) {
        this.deliveryCosts = deliveryCosts;
    }

    public BigDecimal getInsuredCost() {
        return insuredCost;
    }

    public void setInsuredCost(BigDecimal insuredCost) {
        this.insuredCost = insuredCost;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public BigDecimal getUseRedEnvelope() {
        return useRedEnvelope;
    }

    public void setUseRedEnvelope(BigDecimal useRedEnvelope) {
        this.useRedEnvelope = useRedEnvelope;
    }

    public BigDecimal getUseValueCard() {
        return useValueCard;
    }

    public void setUseValueCard(BigDecimal useValueCard) {
        this.useValueCard = useValueCard;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getUseIntegral() {
        return useIntegral;
    }

    public void setUseIntegral(BigDecimal useIntegral) {
        this.useIntegral = useIntegral;
    }

    public BigDecimal getUseCoupon() {
        return useCoupon;
    }

    public void setUseCoupon(BigDecimal useCoupon) {
        this.useCoupon = useCoupon;
    }

}